#include "RoomCreator.hpp"

Room RoomCreator::GenerateRoom(BaseRoom& room)
{
	MapGen->AddRoom(room.y1, room.x1, room.y2, room.x2, room.density, room.imgID, room.algorithm);
	room.ID = MapGen->GetLastRoom().ID;
	return MapGen->GetLastRoom();
}